from pydantic import Field

from infrastructure.excel import ExcelReader


class EntityCodeMcpTool:
    @staticmethod
    def handler(file_path: str = Field(..., description='excel绝对文件路径')):
        return ExcelReader.read_excel_to_split_markdown_json_doc(file_path)
